﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TemaForm.aspx.cs" Inherits="CECWeb.WebForm3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            margin-left: 120px;
        }
        .style3
        {
            height: 58px;
        }
        .style4
        {
            height: 58px;
            width: 302px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <div class="container">
			<form name="frmAgregarUsuario" action=""  method="post" class="form-horizontal">
				<fieldset>
					<legend>Agregar tema</legend>

					<div>
                        
                        <p class="style1">
                            <asp:Label ID="Label1" runat="server" Text="Tema:"></asp:Label> 
                        </p>
                        <p class="style1">
                           
                            <asp:TextBox ID="TxtTema" runat="server" Width="319px"></asp:TextBox>
                          
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="TxtTema" ErrorMessage="Campo requerido">Campo requerido</asp:RequiredFieldValidator>
                          
                        </p>
                        <p class="style1">
                          
                            <asp:Label ID="Grupo" runat="server" Text="Grupo:"></asp:Label>
                        </p>
                        <p class="style1">
                          
                            <asp:DropDownList ID="DropGrupo" runat="server" Height="29px" 
                                onselectedindexchanged=" DropGrupo_SelectedIndexChanged" Width="315px">
                            </asp:DropDownList>
                        </p>

                       <p class="style1">
                        </p>
                        <p class="style1">
                            <asp:Label ID="Label6" runat="server" Text="Calificación:"></asp:Label>
                        </p>
                        <p class="style1">
                            <asp:TextBox ID="TxtCalificación" runat="server" 
                                ontextchanged="TxtCalificación_TextChanged1" Width="319px"></asp:TextBox>
                             <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                 ControlToValidate="TxtCalificación" ErrorMessage="Campo requerido">Campo requerido</asp:RequiredFieldValidator>
                        </p>

                        <p class="style1">
                            <asp:Label ID="Label3" runat="server" Text="Número  maximo de aportes:"></asp:Label>
                         </p>
                         <p class="style1">
                            <asp:TextBox ID="TxtAportesTotales" runat="server" Width="319px"></asp:TextBox>
                             <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                 ControlToValidate="TxtAportesTotales" ErrorMessage="Campo requerido">Campo requerido</asp:RequiredFieldValidator>
                         </p>
                          <p class="style1">
                            <asp:Label ID="Label4" runat="server" Text="Número de aportes por usuario:"></asp:Label>
                        </p>
                        <p class="style1">
                            <asp:TextBox ID="TxtAportesUsuario" runat="server" Width="319px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                ControlToValidate="TxtAportesUsuario" ErrorMessage="Campo requerido">Campo requerido</asp:RequiredFieldValidator>
                        </p>
                         <p class="style1">
                            <asp:Label ID="Label5" runat="server" Text="Accesible a todos los usuarios:"></asp:Label>
                        </p>
                        <table style="width: 50%; height: 12px;" align="center">
                            <tr>
                                <td class="style4" align="center">
                                    <asp:RadioButton ID="RadioSI" runat="server" oncheckedchanged="RadioSI_CheckedChanged" Text="Si" />
                                </td>
                                <td align="left" class="style3">
                                   <asp:RadioButton ID="RadioNO" runat="server" oncheckedchanged="RadioNO_CheckedChanged" Text="No" />
                                </td>
                            </tr>
                        </table>
                           
                            
                        
                        <p class="style1">     
                            </p>
                        <p class="style1">     
                            <asp:Button class="btn-primary" ID="Aceptar" runat="server" onclick="Aceptar_Click1" 
                                Text="Aceptar" CssClass="btn-primary" Height="31px" Width="126px" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button class="btn-primary"  ID="Cancelar" runat="server" Text="Cancelar " 
                                CssClass="btn-primary" CausesValidation="False" onclick="Cancelar_Click" 
                                Height="34px" Width="130px" />
                        </p>
                        <p class="style1">     
                            &nbsp;</p>
                       
                    </div>
				</fieldset>
			</form>	
		</div>
</asp:Content>
